﻿using Common.Contract.Authentication.Record;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace SMECustomerWebsite.Models.ViewModels.CloseDao
{
    public class CloseDaoRequestViewModel : GenerateViewMode, IViewModel
    {
        public UserRecord CurrentUser { get; set; }
        public int RequestId { get; set; }
        public string RejectReason { get; set; }
        public List<string> Dao { get; set; }

        [Required, FileExtensions(Extensions = "pdf",
             ErrorMessage = "Specify a pdf file. (Comma-separated values)")]
        public HttpPostedFileBase File { get; set; }
    }
}